﻿<%@ Page Language="VB" MasterPageFile="~/WebForm/MasterPage.master" AutoEventWireup="false" CodeFile="ManagePerson.aspx.vb" Inherits="WebForm_ManagePerson" %>
<%@ Register Src="~/WebForm/ManagePerson/AddPerson.ascx" TagName="AddPerson" TagPrefix="My" %>
<%@ Register Src="~/WebForm/ManagePerson/SearchPerson.ascx" TagName="SearchPerson"
    TagPrefix="My" %>
<%@ Register Src="~/WebForm/UpdateProgress.ascx" TagName="UpdateProgress" TagPrefix="My" %>
<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder1" runat="Server">
    <asp:UpdateProgress ID="progress1" runat="server">
        <ProgressTemplate>
            <my:UpdateProgress ID="myprogress1" runat="server" />
        </ProgressTemplate>
    </asp:UpdateProgress>
    <table align="center" width="95%">
        <tr>
            <td align="center">
                <asp:Label ID="Title" runat="server" SkinID="title" meta:resourcekey="Page"></asp:Label>
            </td>
        </tr>
        <tr>
            <td align="right">
                <asp:LinkButton ID="lknAdd" runat="server" meta:resourcekey="lknAdd"></asp:LinkButton>
            </td>
        </tr>                
        <tr>
            <td>
                <asp:UpdatePanel ID="up1" runat="server" UpdateMode="Conditional">
                    <Triggers>
                        <asp:AsyncPostBackTrigger ControlID="lknAdd" />
                    </Triggers>
                    <ContentTemplate>
                        <ajaxToolkit:TabContainer ID="TabContainer1" runat="server" AutoPostBack="false"
                            ActiveTabIndex="0">
                            <ajaxToolkit:TabPanel ID="SearchPersonTabPanel" runat="server" meta:resourcekey="SearchPersonTabPanel">
                                <ContentTemplate>
                                    <My:SearchPerson ID="SearchPerson1" runat="server" />
                                </ContentTemplate>
                            </ajaxToolkit:TabPanel>                            
                            <ajaxToolkit:TabPanel ID="AddPersonTabPanel" runat="server" meta:resourcekey="AddPersonTabPanel">
                                <ContentTemplate>
                                    <My:AddPerson ID="AddPerson1" runat="server" />
                                </ContentTemplate>
                            </ajaxToolkit:TabPanel>
                        </ajaxToolkit:TabContainer>
                    </ContentTemplate>
                </asp:UpdatePanel>
            </td>
        </tr>
    </table>
</asp:Content>

